package com.baosu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baosu.domain.Result;
import com.baosu.domain.Tag;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface TagService extends IService<Tag> {

    Result<Page> pageTagList(int page, int pageSize, String name);

    Result getByArtucleId(Long id);

    Result deleteTag(List<Long> ids);

    Result getArticleByTag(int pagenum, int pagesize, Long tagId);

    Result<List> getArticleCount();
}
